Plugin Directory

Changeset 2726823


Ignore:
Timestamp:
05/19/2022 12:53:19 PM (4 years ago)
Author:
rolandfarkas
Message:

v1.1.2

Location:
amp-google-analytics-4-support
Files:
13 added
3 edited

Legend:

Unmodified
Added
Removed
  • amp-google-analytics-4-support/trunk/ampanalyticssupport.php

    r2726085 r2726823  
    44* Plugin URI: https://github.com/rolandfarkasCOM/ampanalyticssupport/
    55* Description: Google Analytics 4 (GA4) AMP support plugin.
    6 * Version: 1.1.1
     6* Version: 1.1.2
    77* Author: Roland Farkas
    88* Author URI: https://rolandfarkas.com
  • amp-google-analytics-4-support/trunk/ga4.json

    r2721826 r2726823  
    8888    "requestOrigin": "https://${GA4_ENDPOINT_HOSTNAME}",
    8989    "requests": {
    90         "ga4IsFirstVisit": "$IF($EQUALS($CALC(SESSION_COUNT,$CALC(${timestamp},SESSION_TIMESTAMP, subtract), add),0),_fv,__nfv)",
    91         "ga4IsSessionStart": "$IF($EQUALS($CALC(${timestamp},SESSION_TIMESTAMP, subtract),-1),_ss,__nss)",
     90        "ga4IsFirstVisit": "$IF($EQUALS($CALC(SESSION_COUNT, $CALC($CALC(${timestamp}, 1000, divide, true),$CALC(SESSION_TIMESTAMP, 1000, divide, true), subtract), add),1), _fv, __nfv )",
     91        "ga4IsSessionStart": "$IF($EQUALS($CALC($CALC(${timestamp}, 1000, divide, true),$CALC(SESSION_TIMESTAMP, 1000, divide, true), subtract),0), _ss, __nss)",               
    9292        "ga4SharedPayload": "v=2&tid=${GA4_MEASUREMENT_ID}&ds=${dataSource}&_p=${pageViewId}&cid=${clientId}&ul=${browserLanguage}&sr=${screenWidth}x${screenHeight}&_s=${requestCount}&dl=${documentLocation}&dr=${externalReferrer}&dt=${title}&${ga4IsFirstVisit}=1&${ga4IsSessionStart}=1",
    9393        "ga4Pageview": {
  • amp-google-analytics-4-support/trunk/readme.txt

    r2726085 r2726823  
    44Requires at least: 4.9
    55Tested up to: 5.9
    6 Stable tag: 1.1.1
     6Stable tag: 1.1.2
    77License: GPLv3 or later
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    6363= 1.1.1 =
    6464* Added more options in the admin settings
     65= 1.1.2 =
     66* Fix session calculator
Note: See TracChangeset for help on using the changeset viewer.