Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


track parked domains
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

track parked domains

I need help in tracking visits to my parked domains.

I have one site: park.domain.com (primary). I have added several of my domains as "server aliases" in Apache's httpd.conf. Which means, anytime I visit abc.com (server alias) it is served the pages of park.domain.com

park.domain.com has one index.php which will find the HOSTURL and send a HTTP 301 redirect to: http://my-domain-portfolio-website.com?domain=
if a user visits abc.com, there is a HTTP 301 redirect happening to http://my-domain-portfolio-website.com?domain=abc.com

But, in this process, I am unable to have any analytics/ tracking on the alias domains. I am using Piwik for my tracking needs (it is fantastic).

How can I make sure that all served aliases tracked using piwik before being redirected?

Comments

  • Make a javascript that loads pywik then sets Window.location to your destination location.

  • Any help with a sample code please?

    @Rallias said:
    Make a javascript that loads pywik then sets Window.location to your destination location.

  • @Rallias said:
    Make a javascript that loads pywik then sets Window.location to your destination location.

    Just curious if you can help me with a sample HTML page which shows the same please? I am not a coder...TIA.

Sign In or Register to comment.