AppMeasurement libraries provided by Adobe compile variables present on the page, then send them as an image request to Adobe. You can bypass AppMeasurement libraries altogether and manually send an image request to Adobe. This method requires that you manually formulate the image request and query string.
While hardcoded image requests are easy to set up, they are difficult to debug, maintain, and scale across larger projects. Make sure that hardcoded image requests are the best option for you before proceeding.
The following is an example hardcoded image request using HTML:
https://designates the protocol. Match the protocol used in the image request with the protocol that the rest of your site uses.
example.data.adobedc.netis the value contained in the
/b/ss/is included in all image requests. It is part of the file structure for images stored on Adobe data collection servers.
examplersidis the report suite ID you want to send data to. For multiple report suites, separate the IDs with commas and no spaces (such as
examplersid1,examplersid2and so on).
/1/is the hit source. See
hit_sourceunder Data column reference in the Export user guide. Controls the order that cookies and other methods use to identify visitors.
"s"+ a random number) prevents the browser from caching the image request.
?) is data that you want to include in reports. See Data collection query parameters for the full list of parameters you can include in an image request.
Since most emails are HTML-based, it is possible to track emails opened and send that data to Adobe Analytics. If your organization opts to use this method, note the following:
To compose an Outlook email that includes an image request:
<img>tag wrapped in a
Your email does not appear to change, as the image request is a 1x1 transparent pixel. If you want to see the image request for testing purposes, modify the HTML file to include a border, additional text, or other content.
Learn about common questions using hardcoded image requests.
Yes. Make sure that query string parameters exactly match, or else they are not recorded. For example,
pagename is not a valid query string parameter, while
Values for each of the query string parameters are URL encoded. URL encoding converts characters that are normally illegal in URLs into legal characters. For example, a space character is converted into
%20. Make sure that any character that is not alpha-numeric is URL encoded. Adobe automatically URL decodes values when image requests reach data collection servers.
See HTML URL Encoding Reference on W3Schools for more information on how URL encoding works.
Each variable has a different maximum length. Most traffic variables hold up to 100 bytes, while most conversion variables hold up to 255 bytes. When an image request reaches data collection servers, Adobe automatically truncates these values to their maximum length.