Global GTM tag
The following tags should exist on every page. No need to customize based on environment (e.g. Test, Prod). Same tag is to be shown.
Head
Code Block | ||
---|---|---|
| ||
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-KZHJFJH');</script>
<!-- End Google Tag Manager --> |
Body
Immediately after <body> tag.
Code Block | ||
---|---|---|
| ||
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KZHJFJH"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) --> |
Page titles
...
URL
...
Spec reference
...
Page Title
...
Global GTM tag
The following tags should exist on every page, except Admin pages. No need to customize based on environment (e.g. Test, Prod). Same tag is to be shown.
Head
refname
is a variable which indicates the https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/490307680/Partner+Functionality#Referrer-Profiles ID
Code Block | ||
---|---|---|
| ||
<script>
window.dataLayer = window.dataLayer || [];
</script>
<script>
dataLayer.push({event: "userData", refid: "uniqueone"})
</script>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-KZHJFJH');</script>
<!-- End Google Tag Manager --> |
Body
Immediately after <body> tag.
Code Block | ||
---|---|---|
| ||
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KZHJFJH"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) --> |
Page titles
Page views are triggered by change in url, therefore every page needs to have a unique url. URLs in red need to be updated, as they are duplicates now.
URL | Spec reference | Page Title | |||
---|---|---|---|---|---|
/ (unauthenticated) | FIO Dashboard - Home | ||||
/myfio | FIO Dashboard - My FIO | ||||
/create-account | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/255623302/Account#Email-%26-Password | FIO Dashboard - Create Account | |||
/create-account-pin | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/255623302/Account#PIN-Code | FIO Dashboard - Create Account Pin | |||
/create-account-confirm | FIO Dashboard - Create Account Confirm | ||||
/create-account-confirmation | FIO Dashboard - Create Account Confirmation | ||||
/create-account-secret-questions | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/255623302/Account#Secret-Questions | FIO Dashboard - Create Account Secret Questions | |||
/create-account-secret-questions-skip | FIO Dashboard - Create Account Secret Questions Skip | ||||
/create-account-secret-answers | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/255623302/Account#Secret-Questions-Answer | FIO Dashboard - Create Account Secret Answers | |||
/email-confirm-gate | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/255623302/Account#Verify-Email-Blocker | FIO Dashboard - Confirm email | |||
/signin | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/255623302/Account#Sign-in | FIO Dashboard - Sign in | |||
/fio-crypto-handles-selection | FIO Dashboard - Crypto Handle Registration | ||||
/fio-domains-selection | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/255624148/Registration#Register-FIO-Domain.1 | FIO Dashboard - Domain Registration | |||
/cart | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/500793345/Checkout#Cart | FIO Dashboard - Shopping Cart | |||
/checkout | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/500793345/Checkout#Pay-with-FIO https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/500793345/Checkout#Pay-with-Stripe | FIO Dashboard - Checkout | |||
/purchase | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/500793345/Checkout#Pay-with-FIO-Confirmation | FIO Dashboard - Purchase Confirmation | |||
/tokens | FIO Dashboards - Wallets | ||||
/import | FIO Dashboard - Import FIO Wallet | ||||
/fio-wallet | FIO Dashboard - Wallet Transactions | ||||
/fio-wallet-details | FIO Dashboard - Wallet Details | ||||
/stake | FIO Dashboard - Stake FIO Tokens | ||||
/unstake | FIO Dashboard - Unstake FIO Tokens | ||||
/send | FIO Dashboard - Send FIO Tokens | ||||
/send-confirmation | FIO Dashboard - Send FIO Tokens Confirmation | ||||
/new-request | FIO Dashboard - FIO Request | ||||
/new-request-confirmation | FIO Dashboard - FIO Request Confirmation | ||||
/reject-fio-request | FIO Dashboard - Reject FIO Request | ||||
/reject-fio-request-confirmation | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/83886086/Dash+Functional+Specification#Home-Page255591518/FIO+Token+FIO+Request+FIO+Data#FIO-Request-Rejected-Confirmation | FIO Dashboard - HomeReject FIO Request Confirmation | |||
/fio-crypto-handles-selectionpayment-details | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/255624148/Registration#Register-FIO-Address.1255591518/FIO+Token+FIO+Request+FIO+Data#Enter-Payment-Details | FIO Dashboard - Crypto Handle RegistrationSend FIO Data | |||
/fiopayment-domainsdetails-selectionconfirmation | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/255624148/Registration#Register-FIO-Domain.1255591518/FIO+Token+FIO+Request+FIO+Data#Payment-Details-Confirmation | FIO Dashboard - Domain RegistrationSend FIO Data Confirmation | |||
/cartfio-domains | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/500793345/Checkout#Cart255590800/Address+and+Domain+Management#FIO-Domain-List | FIO Dashboard - Shopping CartDomains | |||
/checkoutfio-domain-settings | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/500793345/Checkout#Pay-with-FIO https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/500793345/Checkout#Pay-with-Stripe | FIO Dashboard - Checkout | /purchase 255590800/Address+and+Domain+Management#FIO-Domain-Settings | FIO Dashboard - Domain Settings | |
/fio-domain-renew | Domain renewal | FIO Dashboard - Renew Domain | |||
/fio-domain-renew-confirmation | Domain renewal confirmation | FIO Dashboard - Renew Domain Confirmation | |||
/fio-domain-status-change | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/500793345/Checkout#Pay-with-FIO-Confirmation255590800/Address+and+Domain+Management#FIO-Domain-Status-Change | FIO Dashboard - Domain Status Change | |||
/fio-domain-status-change-confirmation | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/500793345/Checkout#Pay-with-CoinPayments%2FStripe255590800/Address+and+Domain+Management#FIO-Domain-Status-Change-Confirmation | FIO Dashboard - Purchase Domain Status Change Confirmation | |||
/tokens/fio-domain-ownership | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/255591518255590800/FIOAddress+Tokenand+FIODomain+Request+FIO+Data#FIO-TokenManagement#Transfer-FIO-Address%2FDomain-Ownership | FIO Dashboards Dashboard - WalletsDomain Ownership Transfer | |||
/importfio-domain-ownership-confirmation | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/255591518255590800/FIOAddress+Tokenand+FIODomain+Request+FIO+Data#Import-WalletManagement#Transfer-FIO-Address%2FDomain-Confirmation | FIO Dashboard - Import FIO WalletDomain Ownership Transfer Confirmation | |||
/fio-crypto-wallethandles | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/255591518255590800/FIOAddress+Tokenand+FIO+Request+FIO+Data#Wallet-TransactionDomain+Management#FIO-Address-List | FIO Dashboard - Wallet TransactionsCrypto Handles | |||
/fio-crypto-handle-walletsettings | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/255591518255590800/FIOAddress+Tokenand+FIO+Request+FIO+Data#Wallet-DetailsDomain+Management#FIO-Address-Settings | FIO Dashboard - Wallet DetailsCrypto Handle Settings | |||
/stake Stake Tokens add-bundles | Add bundles | FIO Dashboard - Stake FIO TokensAdd Bundles | |||
/unstakeStake Tokens add-bundles-confirmation | Add bundles confirmation | FIO Dashboard - Unstake FIO TokensAdd Bundles Confirmation | |||
/sendfio-crypto-handle-ownership | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/255591518255590800/FIOAddress+Tokenand+FIODomain+Request+Management#Transfer-FIO+Data#Send-FIOAddress%2FDomain-TokenOwnership | FIO Dashboard - Send FIO Tokens/sendCrypto Handle Ownership Transfer | |||
/fio-crypto-handle-ownership-confirmation | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/255591518255590800/FIOAddress+Token+FIO+Request+FIO+Data#FIO-Tokens-Sentand+Domain+Management#Transfer-FIO-Address%2FDomain-Confirmation | FIO Dashboard - Send FIO Tokens Crypto Handle Ownership Transfer Confirmation | |||
/newnft-requestsignatures | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/255591518299630593/FIO+Token+FIO+Request+FIO+Data#FIO-RequestNFT+Signatures#NFT-Signatures-List | FIO Dashboard - FIO RequestNFT Signatures | |||
/newsign-requestnft | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/255591518299630593/FIO+Token+FIO+Request+FIO+Data#FIO-Request-ConfirmationNFT+Signatures#Sign-NFT.1 | FIO Dashboard - FIO Request ConfirmationSign NFT | |||
/rejectsign-fionft-requestconfirmation | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/255591518299630593/FIO+Token+FIO+Request+FIO+Data#Reject-FIO-RequestNFT+Signatures#Sign-NFT-Details | FIO Dashboard - Reject FIO RequestSign NFT Confirmation | |||
/rejectlink-fiotoken-requestlist | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/255591518255590800/FIOAddress+Tokenand+FIO+Request+FIO+Data#FIO-Request-Rejected-ConfirmationDomain+Management#Link-Token-List | FIO Dashboard - Reject FIO Request ConfirmationLinked Token List | |||
/paymentadd-detailstoken | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/255591518255590800/FIOAddress+Tokenand+FIO+Request+FIO+Data#Enter-Payment-DetailsDomain+Management#Link-Token | FIO Dashboard - Send FIO DataLink Token | |||
/paymentadd-token-detailsconfirmation | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/255591518255590800/FIOAddress+Tokenand+FIO+Request+FIO+Data#Payment-Details-Confirmation | FIO Dashboard - Send FIO Data Confirmation | /fio-domains | Address and Domain Management Domain+Management#Link-Token-Confirmation | FIO Dashboard - DomainsLink Token Confirmation |
/fio-domain-renew | Domain renewalLanding Page | FIO Dashboard - Renew Domain | |||
/orders | /fio-domain-renew | Domain renewal confirmationhttps://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/503054375/My+Orders#My-Orders | FIO Dashboard - Renew Domain ConfirmationOrders | ||
/fio-domain-status-changeorder-details | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/255590800/Address+and+Domain+Management#FIO-Domain-Status-Change503054375/My+Orders#Order-Details | FIO Dashboard - Domain Status ChangeOrder Details | |||
/fio-domain-status-changeorder-invoice | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/255590800503054375/Address+and+Domain+Management#FIO-Domain-Status-Change-ConfirmationMy+Orders#Order-Invoice-PDF | FIO Dashboard - Order Invoice | |||
/settings | FIO Dashboard - Domain Status Change Confirmation/fio-domainsSettings | ||||
/ref/partnername | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/255590800490307680/Address+and+Domain+Management#Transfer-FIO-Address%2FDomain-OwnershipPartner+Functionality#Landing-Page | FIO Dashboard - Domain Ownership Transfer partnername | |||
/fiowrap-domainstokens | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/255590800479854635/Address+and+Domain+Management#TransferToken+Wrapping#Wrap-FIO-Address%2FDomain-ConfirmationTokens | FIO Dashboard - Domain Ownership Transfer Confirmation | |||
Requires Change: current: /fio_domains new: /fio_crypto_handle | Add bundles | FIO Dashboard - Add Bundles | |||
Requires Change: current: /fio_domains new: /fio_crypto_handle | Add bundles confirmation | FIO Dashboard - Add Bundles Confirmation | |||
Requires Change: current: /fio_domains new: /fio_crypto_handle Wrap FIO Tokens | |||||
/wrap-tokens-confirmation | FIO Dashboard - Wrap FIO Tokens Confirmation | ||||
/unwrap-tokens | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/255590800493846529/Address+and+Domain+Management#TransferToken+Unwrapping#Unwrap-FIO-Address%2FDomain-OwnershipTokens | FIO Dashboard - Crypto Handle Ownership Transfer Requires Change: current: /fio_domains new: /fio_crypto_handle Unwrap FIO Tokens | |||
/unwrap-tokens-confirmation | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/255590800493846529/Address+and+Domain+Management#Transfer-FIO-Address%2FDomain-ConfirmationToken+Unwrapping#FIO-Tokens-Unwrapped | FIO Dashboard - Crypto Handle Ownership Transfer Confirmation | Requires Change: current: /fio_domains new: /fio_nft_signatures | Unwrap FIO Tokens Confirmation | |
/wrap-domain | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/299630593490635272/NFTDomain+Signatures#NFTWrapping#Wrap-SignaturesFIO-ListDomain | FIO Dashboard - NFT Signatures Requires Change: current: /fio_domains new: /fio_nft_signaturesWrap FIO Domain | |||
/wrap-domain-confirmation | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/299630593490635272/NFT+Signatures#Sign-NFT.1Domain+Wrapping#FIO-Domain-Wrapped---With-Fees | FIO Dashboard - Sign NFT | Requires Change: current: /fio_domains new: /fio_nft_signatures | Wrap FIO Domain Confirmation | |
/unwrap-domain | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/299630593493944833/NFTDomain+Signatures#SignUnwrapping#Unwrap-NFTFIO-DetailsDomain | FIO Dashboard - Sign NFT Confirmation Requires Change: current: /fio_domains new: /link_tokenUnwrap FIO Domain | |||
/unwrap-domain-confirmation | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/255590800493944833/Address+and+Domain+Management#Link-TokenDomain+Unwrapping#FIO-Domain-Unwrapped | FIO Dashboard - Unwrap FIO Domain Confirmation | |||
/privacy-policy | FIO Dashboard - Privacy Policy | ||||
/terms-of-service | FIO Dashboard - Link Token Requires Change: current: /fio_domains new: /link_tokenTerms of Service | ||||
/reset-password | https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/255590800/Address+and+Domain+Management#Link-Token-Confirmation151879691/Security#Forgot-Password | FIO Dashboard - Link Token ConfirmationReset Password | |||
/404 | FIO Dashboard - Not Found | ||||
error | FIO Dashboard - Error |
Events
When fires
Event name
Events
When fires | Event name | Parameters |
---|---|---|
User creates account |
| |
User logs in |
|
|
User searches for FCH or Domain or both |
|
|
User sees “already registered” error after searching for FCH or Domain or both |
| |
User adds item to cart https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/500793345/Checkout#Cart |
|
|
User removes item from cart https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/500793345/Checkout#Cart |
| Same as Add item to cart |
User clicks Checkout Now (or Complete Transaction) or Cart icon in main navigation https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/500793345/Checkout#Cart |
| Same as Add item to cart |
Price updated in cart https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/500793345/Checkout#Price-Change |
| |
User clicks Purchase Now or Pay on checkout page |
| |
Shopping cart is purchased https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/500793345/Checkout#Pay-with-FIO-Confirmation |
| Same as Add item to cart plus:
|
Partial purchase error https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/500793345/Checkout#Pay-with-FIO-Confirmation |
| |
Complete purchase error https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/500793345/Checkout#Pay-with-FIO-Confirmation |
| |
Cart is emptied due to inactivity |
| |
User creates new FIO wallet |
|
|
User stakes FIO tokens |
|
|
User unstakes FIO tokens |
|
|
User sends FIO Tokens |
|
|
User sends new FIO Request |
| |
User sends FIO Data |
| |
User rejects FIO Request |
| |
User renews domain |
| |
Users flips domain status |
| |
Users transfers domain ownership |
| |
Users transfers FCH ownership |
| |
User adds bundles to FCH |
| |
User signs NFT https://fioprotocol.atlassian.net/wiki/spaces/DAO/pages/299630593/NFT+Signatures#Sign-NFT.1 |
| |
Users links token to FCH |
| |
User enables 2FA |
| |
User sets up recovery |
| |
User encounters chain error on any transaction, except purchase |
|
...