Add Munchkin Tracking Code to Your Website add-munchkin-tracking-code-to-your-website
Marketo's custom JavaScript tracking code, called Munchkin, tracks all individuals who visit your website so you can react to their visits with automated marketing campaigns. Even anonymous visitors are tracked along with their IP addresses and other information. Without this tracking code, you will not be able to track visits or other activity on your website!
Aggiungere il codice di tracciamento al tuo sito web add-tracking-code-to-your-website
-
Passa alla schermata Admin.
-
Fai clic su Munchkin.
-
Select Asynchronous for Tracking Code Type.
note note NOTE In almost all cases, you should use the asynchronous code. Ulteriori informazioni. -
Copy the JavaScript tracking code to add to your website.
note caution CAUTION Do not use the code shown in this screenshot - you must use the unique code that appears in your account. note tip TIP Put tracking code on the web pages you want to track. This may be every page for smaller sites, or only key pages on sites that have many dynamically generated Web pages, user forums, and so on. For best results, use the asynchronous Munchkin code and place it inside the
<head>elements of your pages. If you are using the simple code (not recommended), this is right before the</body>tag.
note tip TIP For sites that see a high volume of traffic (that is, hundreds of thousands of visits per month), it is recommended you opt not to track anonymous people. Ulteriori informazioni.
Add Tracking Code When Using Multiple Workspaces add-tracking-code-when-using-multiple-workspaces
If you are using Workspaces in your Marketo account, you probably also have separate web presences that correspond to your workspaces. In that case, you can use the Munchkin tracking Javascript to assign your anonymous people to the correct workspace and partition.
-
Passa alla schermata Admin.
-
Fai clic su Munchkin.
-
Select the appropriate workspace for the web pages you wish to track.
note note NOTE If you do not use the special workspace Munchkin code, the people will be assigned to the default partition that was created when your account was set up. Il nome è 'Default' per impostazione predefinita, ma è possibile che sia stato modificato. -
Selezionare Asynchronous per Tracking Code Type.
-
Copia il codice di tracciamento JavaScript da aggiungere al sito web.
note caution CAUTION Non utilizzare il codice mostrato in questa schermata: devi utilizzare il codice univoco visualizzato nel tuo account. -
Inserire il codice di tracciamento nelle pagine Web nell'elemento
<head>. Le nuove persone che visitano questa pagina vengono assegnate a questa partizione.
note caution CAUTION È possibile utilizzare un solo script di tracciamento Munchkin per una singola partizione e area di lavoro in una pagina. Non includere script di tracciamento per più partizioni/aree di lavoro nel sito Web. note note NOTE Le pagine di destinazione create in Marketo contengono automaticamente il codice di tracciamento. Non è necessario aggiungervi questo codice.
Tipi di codici di tracciamento Munchkin types-of-munchkin-tracking-codes
È possibile scegliere tra tre tipi di codici di tracciamento Munchkin. Ciascuno influisce sui tempi di caricamento della pagina web in modo diverso.
- Simple: ha il minor numero di righe di codice, ma non è ottimizzato per il tempo di caricamento della pagina Web. Questo codice carica la libreria jQuery ogni volta che viene caricata una pagina Web.
- Asynchronous: riduce il tempo di caricamento della pagina Web.
- Asynchronous jQuery: riduce il tempo di caricamento della pagina Web e migliora le prestazioni del sistema. Questo codice presuppone che tu disponga già di jQuery e non controlla di caricarlo.
Verifica se il codice Munchkin funziona test-if-your-munchkin-code-is-working
Per verificare che il codice Munchkin funzioni dopo averlo aggiunto:
-
Visita la tua pagina web.
-
In My Marketo, fare clic sul riquadro Analytics.
-
Fai clic su Web Page Activity.
-
Fare clic sulla scheda Setup, quindi fare doppio clic su Activity Source.
-
Modificare Activity Source in Anonymous Visitors (including ISPs) e fare clic su Apply.
-
Fai clic sulla scheda Report.
note note NOTE Se non trovi dati, attendi alcuni minuti, quindi fai clic sull'icona refresh in basso.