Allowable Character limits of different Adobe Analytics variable

Many variables contain limitations to the number of bytes they can hold. A byte is generally a single character, however can take up to 6 bytes depending on the complexity of the character. Any variables that exceed these limitations are truncated:

  • PageName and all custom traffic variables (props): 100 bytes
  • Tracking Codes and all custom conversion variables (eVars): 255 bytes
  • URL and Referrer: 255 bytes
  • Hierarchy variables: 255 bytes total across all levels
  • The transactionID variable can contain any character other than a comma. It should be in the same location where the character limit (100 bytes) is specified. If multi-byte characters are used, multi-byte character support must be enabled in order to avoid problems with unexpected characters in the transactionID.
  • Purchase ID: 20 bytes
  • Products: 100 bytes for each product category
    100 bytes for each product name
    No overall limit within the entire variable
  • Events variable: No overall limit, however each serialized value may only contain 20 bytes

How to track banner/image impressions on website using Adobe Analytics

On page load there will be s.t() server call ,on banner/image impressions there will be s.tl() server call so artificially it will depress bounce and bounce rate.

Here is the document that explains how each of these metrics works.

You can build a calculated metric using single access, but that will only work when looking at specific dimensions (pages, evars, etc.) and not from a site-wide perspective.  If you want something at the site level, then you can use single page visits.

You should use the metric that suits your need based on where/how they will use it in reporting.

Solution 1:

By the user of other metric we can solve this problem.

We can build a calculated metric using single access, but that will only work when looking at specific dimensions (pages, evars, etc.)

Single Page Visit / Entries


If you want something at the site level, then they can use single page visits.

Single Access / Visits


You should use the metric that suits the needs based on the requirement.

Solution 2:

Other solution to track banner ads is to populate the value of banner in local variable of javascript like banner1:banner2:banner3 and pass on that value to analytics variable like prop on page load. This can give insight that how many banner has been loaded at the time of page load.

Configure Charles for Chrome

Charles is an HTTP proxy / HTTP monitor / Reverse Proxy that enables a developer to view all of the HTTP and SSL / HTTPS traffic between their machine and the Internet. This includes requests, responses and the HTTP headers (which contain the cookies and caching information)

You can download the Charles

After installing following are the steps to configure it

1.Register Charles

2.Goto Help->SSL Proxying->Install Charles Root Certificate



3.Select Local Machine and click on Next

4.Browser the certificate and select “Trusted Root Certification Authorities”

5.Click on Tools->Whitelist

6.Click on Proxy->SSL proxy settings



After performing the above settings Charles will work fine in Chrome browser, for some reason it was not working on firefox at my end.

Follow the steps to make it work:

Windows / Internet Explorer
First quit Charles. Then go to the Internet Options in your Control Panel. Go to the Connections tab. Click on the LAN Settings. You’ll see a Proxy panel. Uncheck the Use a Proxy checkbox. Click OK until you’ve closed the Internet Options.

Mac OS X
Go to your System Preferences. Open the Network preferences. Choose the appropriate Network Port (you may need to reconfigure more than one if you have more than one) and click Configure. Go to the Proxies tab. Look in the list of proxy servers, you will see that Web Proxy and Secure Web Proxy are active. Uncheck those or reconfigure them as required for your network. Click Apply Now and then close the Network preferences.

Firefox
First quit Charles. Then go to the Firefox Preferences window, General tab, click Connection Settings. Then choose “Direct Connection to the Internet” or enter whatever proxy settings are required for your network. Click OK and then close the Preferences window.

Dynamically Populate Value In dataLayer

While checking about dataLayer I came across: https://www.optimizesmart.com/google-tag-manager-data-layer-explained-like-never/

Example of dataLayer

On any web page test yourself by pasting the code

1.Paste the following code

<script>

  var dataLayer = {

‘pageName’: document.title,

‘pageURL’: document.URL

                                };

</script>

You can check these in console via

  • dataLayer.PageName
  • datLayer.pageURL

2.If you paste the following:

<script>

dataLayer = [{

‘pageCategory’: ‘Statistics’,

‘visitorType’: ‘high-value’

}];

</script>

You can check these in console via

  • dataLayer[0].pageCategory
  • dataLayer[0].visitorType

3.If you paste the following :

<script>

dataLayer = [{

‘pageCategory’: ‘Statistics’,

‘visitorType’: ‘high-value’

},

{‘nameA’:’salena’,

‘nameB’:’gomes’

}];

</script>

You can check these in console via

  • dataLayer[0].pageCategory
  • dataLayer[0].visitorType
  • dataLayer[1].nameA
  • dataLayer[1].nameB


Please let me know if you have any question by your comment in the comment section.

How To Clear JAVA cache Of Computer

To clear your Java cache in Windows:

  1. Click Start > Control Panel.
  2. Locate and double click the Java icon in the Control Panel.
  3. Click Settings under Temporary Internet Files.
  4. Click Delete Files.
  5. Select all boxes and click OK on Delete Temporary Files window.
  6. Click OK on Temporary Files Settings window.
  7. Click OK to close the Java Control Panel.

To clear your Java cache in Mac OS X:

  1. Double click your Mac hard drive.
  2. Double click Applications.
  3. Double click Utilities.
  4. Double click Java Preferences.
  5. Click the Network tab.
  6. Click the Delete Files… button.
  7. You are prompted to delete your temporary files for Java. Make sure all boxes are selected with check marks. Click OK.
  8. Close the Java Preferences window.

How to track the amount of time between two different Adobe analytics events

In order to track the amount of time between two different events you can use the getTimeBetweenEvents plugin. It allows you to track the amount of time between two different Adobe analytics events.

I believe this plugin is not free , to get this you need to get in touch to Adobe Consulting.

In case you are not willing to work with Adobe Consulting then you can develop your own custom solution.

You can set a cookie when the first event is fired, in that cookie set the time stamp as t1 and when the second event fire set the timestamp as t2. Calculate the time difference between t1 and t2 and populate the value analytics variable.