Giter Site home page Giter Site logo

Comments (3)

franciscosanchezsfdc avatar franciscosanchezsfdc commented on July 19, 2024

John, you can open a ticket with our Support team: https://help.salesforce.com/articleView?id=000181929&type=1
Thank you

from api-docs.

 avatar commented on July 19, 2024

Unfortunately it does appear that the documentation for type and type_name is not descriptive enough.

  • type is a numeric value representing the type of activity the visitor engaged in. The value of this property corresponds to the list in the documentation. This numeric value represents a categorization that is machine readable.
  • type_name is record specific, and although based on the type of activity, it does not correspond to the value of type. The type_name property is calculated based on the data received when the activity was generated. This string value represents a human-readable message that describes the activity.

For example, if a visitor clicks an Email associated to a Tracker, the type will be 1 ("Click") and the type_name will be "Email Tracker". If a visitor clicks a Form associated to a Tracker, the type will still be 1 ("Click") however the type_name will be "Form Tracker". Both visitor activity records will have the same type value but different type_name values.

type type value type_name
1 Click Email Tracker
1 Click Form Tracker

The values for type_name are not enumerated in the documentation because they are generated with the data associated to the visitor activity.

Sorry for the confusion and I'll be passing this onto the technical writers to revise.

from api-docs.

johnissagc avatar johnissagc commented on July 19, 2024

John, you can open a ticket with our Support team: https://help.salesforce.com/articleView?id=000181929&type=1
Thank you

Francisco - that was my initial course of action and they advised that I open a ticket here...

Unfortunately it does appear that the documentation for type and type_name is not descriptive enough.

  • type is a numeric value representing the type of activity the visitor engaged in. The value of this property corresponds to the list in the documentation. This numeric value represents a categorization that is machine readable.
  • type_name is record specific, and although based on the type of activity, it does not correspond to the value of type. The type_name property is calculated based on the data received when the activity was generated. This string value represents a human-readable message that describes the activity.

For example, if a visitor clicks an Email associated to a Tracker, the type will be 1 ("Click") and the type_name will be "Email Tracker". If a visitor clicks a Form associated to a Tracker, the type will still be 1 ("Click") however the type_name will be "Form Tracker". Both visitor activity records will have the same type value but different type_name values.

type type value type_name
1 Click Email Tracker
1 Click Form Tracker
The values for type_name are not enumerated in the documentation because they are generated with the data associated to the visitor activity.

Sorry for the confusion and I'll be passing this onto the technical writers to revise.

Jared - this answers my question.

Appreciate the help here guys, thank you!

from api-docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.