Howdy, Stranger!

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


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
25% Recurring Discount on NVMe VPS
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
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

plumbergplumberg Veteran, Megathread Squad

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.

  • plumbergplumberg Veteran, Megathread Squad

    Any help with a sample code please?

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

  • plumbergplumberg Veteran, Megathread Squad

    @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.