Skip to content

Commit 1676e7c

Browse files
nielstmarkzegarellistayseesong
authored
Introducing the new Log Purchases Action (#2730)
* Introducing the new Log Purchases Action Ship date of the feature still pending - would love review/edit of the steps in advance * Edits * Update heading * Apply suggestions from code review Co-authored-by: stayseesong <[email protected]> * Update src/connections/destinations/catalog/actions-amplitude/index.md Co-authored-by: markzegarelli <[email protected]> Co-authored-by: stayseesong <[email protected]>
1 parent 38f1ad5 commit 1676e7c

File tree

1 file changed

+14
-0
lines changed
  • src/connections/destinations/catalog/actions-amplitude

1 file changed

+14
-0
lines changed

src/connections/destinations/catalog/actions-amplitude/index.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,20 @@ Amplitude (Actions) provides the following benefits over the classic Amplitude d
3737

3838
Once you have a mapping, you can follow the steps in the Destinations Actions documentation on [Customizing mappings](/docs/connections/destinations/actions/#customizing-mappings).
3939

40+
### Log Purchases in existing destination instances
41+
42+
Initially, the Log Event Action was reporting purchases to Amplitude for all events containing a `products` array, even if the products were just added to cart. This inflated the LTV Chart in Amplitude.
43+
44+
To resolve this, purchase reporting takes place in a new Action called Log Purchase.
45+
46+
For instances created prior to before the Log Purchases action was released, you need to manually add the Log Purchases Action to report purchases to Amplitude.
47+
48+
To manually add the Log Purchases Action:
49+
1. Add a new Mapping for the Log Purchases Action. The default trigger for this action is Order Completed events.
50+
2. Modify the Trigger if you need to report purchases for any other events.
51+
3. Modify the Trigger of Log Event to exclude these same events. This helps you to avoid sending the same event twice.
52+
4. Enable the Log Purchases mapping.
53+
4054
### Connection Modes for Amplitude (Actions) destination
4155

4256
The Amplitude (actions) destination does not offer a device-mode connection mode. If you're using one of Segment's new libraries ([Analytics.js 2.0](/docs/connections/sources/catalog/libraries/website/javascript/), [Swift](https://github.com/segmentio/analytics-swift) or [Kotlin](https://github.com/segmentio/analytics-kotlin)) with the Actions-framework version of the destination, you do not need the device-mode connection.

0 commit comments

Comments
 (0)