Difference Between Google Analytics and Adobe Analytics

It is one of the common question while opting the Web Analytics tool and doing the comparison is very common and first action done by business owners.

Google Analytics

  • Easy Client-Side Implementation using JavaScript
  • Customizable Intuitive dashboards
  • Data sharing is not very easy with other users
  • Works well with data analysis languages like R and Python.
  • CRM integration not possible
  • Free tool for the first 10 million hits, post that about $150,000 (for over 1 billion hits).
  • No dedicated customer support team
  • Free Version is available

    Adobe Analytics (formerly known as SiteCatalyst – Omniture)
  • Implementation is easy but requires some technical assistance and little programming knowledge.
  • Server Side and Client-side implementation is possible
  • Less intuitive in reporting
  • Much easier to share with other users.
  • Highly customizable
  • Market Leader
  • Third-party integration is available through various options
  • 24×7 Dedicated customer support.
  • CRM integration allowed
  • No free version is available
  • Each server call is charged

Google Analytics is good if you don’t have a large analytics and tech team, Adobe works mainly in large digital-first / e-commerce companies with dedicated analytics and tech teams. Adobe Analytics is for serious business and long term business as it is part of Adobe Experience Cloud. Adobe Analytics has a market share of 39% in Housewares/Home Furnishings, 36% in Food/Drug, 39% in Books/Music/ Video, and 41% in Mass Merchants.

How To Get NewRepeat Visitor in Adobe Analytics Easily

There are 2 methods to get this:

NewRepeat can be captured through segment or through plugin

With the help of Segment:

Basically we are looking at the visit number of the visitors: if a visitor has at least one visit with a visit number higher than 1 (2 or higher) the visitor is segmented as “returning visitor”. All others are segmented as new visitors. Be aware that this is not depending on the timeframe you are looking at rather segmenting the visitors in their whole history i.e it would be dependent on ECID cookie…which is set for 2 years

With the help of Plugin:

Using plugin you can set your own cookie and set it according to your own time, which is generally 30 days, but can be anything as per the business vertical requirement.

What tools/services Digital Analytics Professionals often use?

While tools/services one uses depend on the need and several other factors. I will share a few popular ones often used by Digital Analytics professionals.

  • Web/App Analytics – Google Analytics, Adobe Analytics, GA(App+Web, Firebase)
  • Dynamic Tag Management – Google Tag Manager, Adobe Launch, Tealium, Ensighten
  • Analysis – Excel, SAS
  • Debugging dataLayer – DataLayer Checker, GA Debugger, FB pixel helper
  • Reporting & Visualization – Google Data Studio, Tableau, PowerBI, Tibco Spotfire
  • Product/Event Analytics – Mixpanel, GA(App+Web)
  • Engagement/Marketing Automation – WebEngage, MoEngage
  • App Attribution – Appsflyer, Branch
  • Session Recording – Hotjar, Full Story
  • Marketing warehouse – Google Bigquery
  • Email – Mailchimp, Sendgrid / SES
  • CRM – Hubspot, Salesforce
  • CDP – Segment

To dig deeper into data/Tech

  • API Testing – Postman
  • Data Lake – S3, GCS
  • Data Warehouse – Postgres, Redshift
  • ETL – AWS Glue
  • Querying S3 data lake – Amazon Athena
  • VCS – Git
  • Executing code – Jupyter Notebook(Python), R Studio(R)
  • Hosting Notebooks – Google Colab
  • SQL Client – Dbeaver (connect/query DWH)
  • Editor – VS Code, Sublime T3

In the future, I will share more example, Feel free to comment that which tool you use and why.

How To Handle FPC for Multiple Domain in Adobe Analytics

No matter how many domains a company has they can use the same tracking server for all the domain which is third party cookie implementation.

But if you want the cookies to be created on the domain and want First Party Cookie Implementation then there can be two approaches to handle the situation.

Suppose : They you have 10+ different domain

Option 1:

Where we have to configure 10+ separate tracking server values for respective domains.

Option 2:

Tracking server secure value like smetrics.abc.com for all the 10+ domains – in this case, except for the main domain, the rest would become the friendly third party implementation.

Friendly 3rd-party cookies: Used primarily by organizations with multiple domains that want to use a single visitor ID across all tracked sites. For example, an organization that owns both example.com and example.net could store the cookie on metrics.example.com

As per https://docs.adobe.com/content/help/en/id-service/using/reference/ecid-library-methods.html “the reason for the shift of ECID to CNAME implementations is for persistent visitor identification, not multi-domain tracking”

Option 1 is the best choice here –

It allows for more persistent visitor identification (with option 2, we don’t get a 1st party cookie set server-side)

If there are links that lead for instance from domain X to domain Y, then use appendVisitorIDsTo method for cross-domain tracking

Option 2 doesn’t provide much benefit

First Party Cookie implementation is very much required to mitigate the impact of ITP 2.x

Find a word in a string using JavaScript

To find a word in a string using JavaScript get I will be showing 2 methods to achieve this:

Method 1:

JavaScript String includes() Method

The includes() method determines whether a string contains the characters of a specified string. This method returns true if the string contains the characters, and false if not. Note: The includes() method is case sensitive.

var str = "Hello world, welcome to the ourpcgeek";
var n = str.includes("ourpcgeek");
var str = "Hello world, welcome to the ourpcgeek";
var test= "ourpcgeek";
var n = str.includes(test);

Put the above sample code in console and see the output.

Definition and Usage

The includes() method determines whether a string contains the characters of a specified string.

This method returns true if the string contains the characters, and false if not.

Note: The includes() method is case sensitive.

Click here to see demo

Method 2:

Other method is using RegEx

Following script will find and replace:

var stringToGoIntoTheRegex = "ourpcgeek";
var regex = new RegExp("#" + stringToGoIntoTheRegex + "#", "g");
// at this point, the line above is the same as: var regex = /#ourpcgeek#/g;

var input = "Hello this is #ourpcgeek# some #ourpcgeek# stuff.";
var output = input.replace(regex, "!!");
alert(output); // Hello this is !! some !! stuff.

Following script will find and if there is match then it is show +ve number.

var stringToGoIntoTheRegex = "ourpcgeek";
var regex = new RegExp("#" + stringToGoIntoTheRegex + "#", "g");
// at this point, the line above is the same as: var regex = /#ourpcgeek#/g;

var input = "Hello this is #ourpcgeek# some #ourpcgeek# stuff.";
var output = input.search(regex);
alert(output); // Will show positive no. as there is match and the no. will be the location

Following script will find and if there is no match then it is show -ve number.

var stringToGoIntoTheRegex = "xyz";
var regex = new RegExp("#" + stringToGoIntoTheRegex + "#", "g");
// at this point, the line above is the same as: var regex = /#ourpcgeek#/g;

var input = "Hello this is #ourpcgeek# some #ourpcgeek# stuff.";
var output = input.search(regex);
alert(output); // Will show -ve number as there is no match

In the general case, escape the string before using as regex:
Not every string is a valid regex, though: there are some special characters, like ( or [. To work around this issue, simply escape the string before turning it into a regex. A utility function for that goes in the sample below:

What are Data Collection Steps of Adobe Analytics?

  1. A visitor visits a web page that contains the data collection code.
  2. As the page loads, the data collection code sends an image request (called a web beacon) to Adobe data collection servers. The image request contains the data you want to collect about the visitors’s interaction with your website.
  3. Adobe stores the data in report suites. You can log in to access report suite data and generate reports related to visitor activity on your website.

Data collection is very quick and does not noticeably affect page load times. Collected data includes page views that result from clicking the browser Reload or Back buttons. The Javascript code runs even when the page is retrieved from cache.

Processing Order of Adobe Analytics:

What is Adobe Analytics?

It’s the industry-leading solution for applying real-time analytics and detailed segmentation across all of marketing channels. Use it to discover high-value audiences and power customer intelligence for business.

What Adobe Analytics can do?

Reporting provides insights into your traditional web-based channels as well as evolving channels like mobile, video, and social networking. Some examples of marketing reports include:

  1. How many people visit your site
  2. How many of those visitors are unique visitors (counted only once)
  3. How they came to the site (such as whether they followed a link or came there directly)
  4. What keywords visitors used to search site content
  5. How long visitors stayed on a given page or on the entire site
  6. What links visitors clicked, and when they left the site
  7. Which marketing channels are most effective at generating revenue or conversion events
  8. How much time they spent watching a video
  9. Which browsers and devices they used to visit your site

How to Install WordPress on WampServer

After you’ve installed WampServer, follow these steps to install WordPress on WampServer:

(Though, WordPress 3.3.1 was used for this tutorial, you will find it helpful for any version of WordPress.)
NOTE: I will suggest not to change the names I’ve used in the tutorial, else you can find yourself in trouble. Please only change names if you’re sure you can keep up with the changes.

1. Goto Computer -> C:drive There you will see a folder named ‘wamp’.

WampServer installation folder in C drive

2. Open wamp -> www

www directory of WampServer

3. Create a new folder here, named ‘testsite’ (without quotes). You can keep any name but note it down as it’s your site name and replace ‘testsite’ with your chosen name when it is used in upcoming steps.

Created testsite folder in www of WampServer

4. Now, goto the WordPress setup file (which you downloaded in step 2 of downloading files). Open the zip file named ‘wordpress-3.3.1.zip’ (your’s filename can be changed because of different WordPress version), open folder named ‘wordpress’ and copy/extract its contents to our newly created folder ‘testsite’ [or the name you gave] (created in above step 3 of installing WordPress).
5. Till time, your site folder ‘testsite’ should look like this:

Contents of testsite directory

6. Open Start menu -> All programs -> WampServer and click ‘Start WampServer’.
Click ‘Yes’ on any UAC dialog window shown. Now, WampServer will be running on your system and you can see its icon in notification area.
7. Lets confirm your WampServer is working properly. Open your browser (I prefer Firefox as Internet Explorer loads slowly) and type ‘localhost’ (without quotes) in the address/location bar. You will see this page:

WampServer homepage

8. Click ‘phpmyadmin’ under Tools section.

phpMyAdmin in WampServer

9. Click ‘Databases’.

Databases in phpMyAdmiin

10. Type ‘testsitesql’ (without quotes) in the text box below Databases and click create. MySQL database for your WordPress site on WampServer is ready.

Creating database for WordPress

11. Type ‘localhost/testsite’ (without quotes) in the location bar of your browser. You will see this:

Wordpress config file

12. Click on ‘Create Configuration file’ button.

Wordpress setup info

13. Click on ‘Let’s go’ button.
Enter ‘testsitesql’ as Database name and ‘root’ as username. Make Password box blank (you don’t need to write any password for MySQL database). And leave rest two fields intact. Now, click on ‘Submit’ button.

Wordpress database settings

14. Click on ‘Run the Install’.

Run WordPress installation

15. Enter your site name, username, password, email, etc. and click on ‘Install WordPress’ button.

Enter website details

16. Now, you’re almost done. You will see the success message. Click on ‘Log In’ button.

Wordpress successfully installed

17. Enter your chosen username and password (which you chose in step 15) and click ‘Log In’ button.
18. Bravo! WordPress installation is finally complete. You’ve successfully login in WordPress on your WampServer. You will see the welcome message.

Wordpress dashboard

Now, you can enjoy using the best ever-built blogging tool on the planet. Some of the places to begin exploring WordPress is Appearance -> Themes and Settings. I hope you enjoyed the tutorial and found it helpful.

Feel free to share this and do let me know through comment that how it works.

SalesForce and Adobe Analytics Integration

Following can be expectation from:

  1. Want two way integration between Adobe Analytics and SFDC
  2. Ready made connector is not available under Data Connector so custom solution has to be designed for that.

There are  couple of ways by which data can be sent from Adobe Analytics to SFDC.

  1. Data warehouse API to send data in SFDC
  2. Reporting API to send data to SFDC
  3. Data Extract report and inject that into SFDC
  4. Data Warehouse report and inject that into SFDC
  5. Data feeds: Receive an hourly or daily export of raw data. Every row is an individual hit, and every column is a variable. Data feeds are typically sent to FTP sites. Inject the file into SFDC

There are  couple of ways by which data can be sent from SFDC to Adobe Analytics.

  1. Use Data Source API
  2. Use Data Source FTP

Before opting the solution do POC in terms of dimension and metric which need to be imported and exported. That will help to decide that which method or option is good to go forward.

Learn Natural Language from scratch to expert level

Here is the list of resources to learn Natural Language from scratch to expert level:

● Jason Brownlee – What Is Natural Language Processing: https://lnkd.in/f-fuRr4

● Emmanuel Ameisen How to solve 90% of NLP problems: https://lnkd.in/f9FeHUg

● Analytics Vidhya – Regular Expressions in Python: https://lnkd.in/fXc_xT4

● Analytics Vidhya – Ultimate Guide to Understand & Implement Natural Language Processing: https://lnkd.in/fitRNBh

● Harrison Kinsley – Natural Language Processing With Python and NLTK: https://lnkd.in/fE3JXHi

● Coursera – Natural Language Processing: https://lnkd.in/f79aUvD

● Siraj Raval – Word2Vec Tutorial: https://lnkd.in/fWFHAzP

● Stanford – Deep Learning for Natural Language Processing: https://lnkd.in/f8TgNjS

● Siraj Raval – How to Make a Text Summarizer


● Siraj Raval – How to Generate Your Own Wikipedia Articles: