Link to home
Start Free TrialLog in
Avatar of oo7ml
oo7ml

asked on

Tracking People Clicking In

Hi,

I have built a small wordpress widget that floats in the bottom right hand corner of my client's website(s), so that their users can click it to make a payment to them... which simply redirects the user to my payment platform / website where my customer has an account.

FLOW - widget sits on clientwebsite.com and when they click it, the customer is brought to mysplink.com/abc (their payment profile on splink)

QUESTION
I need to be able to track how many users land on mysplink.com from a widget that sits on another site.

I was thinking of using something like mysplink.com/abc/ref=widget-abc and then i can view that in Google Analytics?

01 - would this approach be the best way to do this?

02 - any other advice on approaches would be greatly appreciated

Thank you in advance for your help.
Avatar of David Favor
David Favor
Flag of United States of America image

Or you can just look at the referent (where click originated) which will give same info, without rewriting all your URLs.

In GA + GTM there's also a way to... collapse multiple urls together, based on query parameters.

For example, let's say you use mysplink.com?widget=id&arg1=foo&arg2=foo as your link format.

In GA + GTM you can collapse all mysplink.com?widget=id links together, so your metrics give numbers on a widget ID basis, rather than split up by unique query parameters.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.