Skip to content

Commit

Permalink
Merge pull request #91 from JincorTech/develop
Browse files Browse the repository at this point in the history
1.3.1
  • Loading branch information
01dr authored Dec 1, 2017
2 parents 4274630 + d3d4bbf commit 841b6df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/cookies/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ export function getCookie(name) {
/* eslint-enable */

export const parseGTM = (gtm) => {
if (!gtm) return null;

const arr = gtm.split('.');
return `${arr[2]}.${arr[3]}`;
};

0 comments on commit 841b6df

Please sign in to comment.