Google Analytics: 100% Drop off from landing page - google-analytics

I have a Web site built in Drupal 7 - we'll call it website.com. Outside of that site, I have a campaign specific landing page - we'll call that website.com/landingpage. On this page, there are a couple of buttons back to the main website (website.com). I have goals set up that track a user from that landing page, back to the main site home page, then through a few other steps. for some reason, even though I know users are clicking through to the site, I'm getting a 100% drop-off from the landing page to the main site...
...anyone have any thoughts as to why this is?

Is it a dynamic webapp? Is the routing is handled in the client and not on the server side?
If it is a dynamic webapp and routing is handled in the client, then GA won't track your pageviews automatically, and you have to do it manually. https://developers.google.com/analytics/devguides/collection/analyticsjs/single-page-applications
If you are using angularjs you can use this great tool:
http://luisfarzati.github.io/angulartics/

Related

Automatically Adding "/homepage" in all landing pages in Google analytics reports

Though there is no redirection not any error in landing pages.
But in reporting, while selecting landing pages against source of traffic, every landing page ends with "/homepage"
EG :
google / organic |
http://www.knexusgroup.com/show/blog/successful-business-to-business-marketing-campaigns/homepage
This "/homepage" is coming on all landing pages of websites.
how to solve this problem to get correct data in analytics.
I would suggest to check Default page value in View Settings. It may have /homepage there, remove it.

Landing page for SilverStripe Website

I have a SilverStripe blog website set up on my domain and hosting. However, for now when people visit my URL I want them to come to a landing coming soon page as I want to do some marketing and create a small database of users prior to launch.
How can I do this without having to remove the SilverStripe Project from the hosting?
I thought it may be as simple as adding a new index.php page. However, even with this it comes straight into my blog website rather than the landing page I made.
One way to do this is by using this SilverStripe Maintenance Mode Module.
This module allows an administrator to put site in offline mode with 503 status to display a 'Coming Soon', 'Under Construction' or 'Down for Maintenance' Page to regular visitors, whilst allowing a logged in admin user to browse and make changes to the site.
You can customise the maintenance page to say whatever you like.

How to create routes that loads up a new page

Newbie to this entire web development domain.
I have a main page and a registration page. Whenever I navigate to subscription page I find the contents of registration page appended at the bottom the main page. How can I create routes in a way where both pages are separate. So when I click home I only see my main page and when I click registration I only see the registration page.
Thanks in advance.
You can use routing on the server side to serve a separate html page. It can be useful for landing pages, etc.
Usually it's done in Meteor by passing a middleware to connect npm module which is accessible in WebApp.connectHandlers or you could use Iron-Router's server-side routing feature.

How to redirect to the particular web site page in asp.net?

I'm developing one web site. In that web site I'm redirecting control to the another site. After completing work on another web site I want to be back on the my page from the my web site.
Suppose I want to redirect on the my web site page that is "abc.aspx". And I installed my web site on the Default virtual directory of my own pc.
I'm developing one shopping site & for payment I'm redirecting to the ccavenue site. And after completing shopping payment from the ccavenue website I want to redirect to the my shopping web site to the particular page , And I don't want to open the payment process on the another window. Than how to do this?
How to do this?
internal redirect:
Response.redirect("/abc.aspx")
this will do the same but maybe more readable:
Response.redirect(Request.Url.Authority+"/abc.aspx")
external redirect:
Response.redirect("http://www.derp.nu/foo")
Also put FALSE (as a parameter) after the link if you use session variables:
Response.redirect("/abc.aspx", false)
you can also do this:
You'll need that secondary site to perform the redirect. This is typically how ecommerce sites handle their interaction with payment portals. Alternatively, you could open the second site in a new window/tab, so that when the user closes that window, they are returned to your site by default.
Ideally, you need to give more context so people can answer to the particulars of your problem.
I got the solution on this, that is-
System.Web.HttpContext.Current.Request.Url.GetLeftPart(UriPartial.Authority) + VirtualPathUtility.ToAbsolute("~/CCAvenueReturn.aspx")
which will return me the current url of my web site

Asp.net iframe page payment gateway integration

I am implementing ebook website, where we allow other partners' website to add our book advertisement widget.
When people click on the book adv, redirect back to our website and continue the checkout process with PayPal.
One of our partner does not want to checkout from our website. He want the checkout flow inside his website itself.
I provide the iFrame page to embed in. However, PayPal checkout is not displaying inside his website. It show as full page and after successfully payment it redirect back to our website download page.
Is there any way or other payment gateway which i can use in iframe?
Give your client an option, to change the redirect page to his site including your page in iframe, or what ever you design,
Then add this return page to the parametre you send on PayPal the "return" with this parameter. Also the cancel parameter must be similar, the "cancel_return" parameter
The same way I believe that you can design a page on your site that looks like your client, setup by your client, and do the job, entering and exit to your client site.

Resources