Firstly go to Google Analytics and setup your custom dimensions as scope: "Session:
Then Setup all of them
ExactVisitor Exact PersonExactVisitor IP Traffic TypeExactVisitor Company NameExactVisitor Company Domain
ExactVisitor IndustryExactVisitor Employee RangeExactVisitor Tech BudgetExactVisitor Global Alexa RankExactVisitor HQ CityExactVisitor HQ StateExactVisitor HQ CountryExactVisitor Tech Stack
Find this code:
ga('send', 'pageview');
</script>
Replace with:ga('require', 'exactvisitor', {
apiKey: 'API_KEY_HERE TRACKING ID FROM EXACTVISITOR',
person: 'dimension1',
trafficeType: 'dimension2',
companyName: 'dimension3',
companyDomain: 'dimension4',
industry: 'dimension5',
employeeRange: 'dimension6',
techBudget: 'dimension7',
globalAlexaRank: 'dimension8',
hqCity: 'dimension9',
hqState: 'dimension10',
hqCountry: 'dimension11',
techStack: 'dimension12',
});
ga('exactvisitor:loadanalytics');
ga('send', 'pageview');
</script>
Verify it works
Using below plugin and right click inspect and Console:
.