If you know how to install Google Analytics code, you know how to install Influencer Marketing Hub's PPC tracking and conversion code.
How to implement conversion tracking:
- Connect our js library (place the following code before </head> on the destination page as well as the page where you would like to track your conversion):
NOTE: Our library detects users, that came from influencermarketinghub.com. Ensure that your ad url contains the following utm sources
&utm_source=IMH or &utm_medium=IMH
If you don't want to use the above feature (i.e. you know exactly when you will run the code or you don't want to use our utm sources), just use the following code:
By default we use the debug mode. So you can see responses from our server in the console of your browser:
If you want to turn off debug mode, just add third parameter as false to the conversion function: