Is it possible to exclude links from tracking

I am creating an application that uses the Sendgrid Marketing Email API to send newsletters. It has a number of links to articles, as well as banner ads and other links to services. We obviously would like to track links to articles, but we exclude that other links affect the speed of clicks. Is there any way to mark links that we don’t want to add to tracking?

+6
source share
2 answers

Necromancy is a minor thread so that everyone who gets here through Google knows that he has added an attribute to disable link tracking.

https://sendgrid.com/docs/Classroom/Track/Clicks/click_tracking_html_best_practices.html

Click tracking can be turned off for individual links, including the clicktracking = off attribute inside the HTML link anchor before href. For example, <a clicktracking=off href="http://example.com">link text</a> will not be tracked.

+13
source

The current click tracking application for SendGrid overwrites all links, and there is currently no way to configure it, so only certain links are tracked.

One alternative would be to disable the click tracking application in the SendGrid control panel, but enable the Google Analytics application (under Applications> Show Disabled Applications> Google Analytics).

With the inclusion of this application, you can create custom links that you want to track using Google Builder Google Analytics .

This will stop SendGrid by rewriting all the URLs and letting you specify the URLs you want to track. However, this would mean that you would lose click event data in your SendGrid analytics and through the WebHook Event, but important data that you want to track for your campaigns will still be stored in Google Analytics.

+4
source

Source: https://habr.com/ru/post/983360/


All Articles