Skip to content

Commit 32522cd

Browse files
committed
Add link to API.create in insertCallToAction as they share the same options structure.
1 parent bf28930 commit 32522cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/includes/_methods.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Please see the <a href="#event-subscriptions">specific event documentation</a> f
3535
})(window.DDC.API);
3636
```
3737

38-
The `insertCallToAction` method is used to create a call to action (CTA) button for placement on web site inventory items. Rather than generating markup and inserting it into a predefined location, when using this method you specify the CTA type (`button` is currently the only supported type), an intent (more on this below), and a data object describing the CTA's attributes.
38+
The `insertCallToAction` method is used to create a call to action (CTA) button for placement on web site inventory items. Rather than generating markup and inserting it into a predefined location, when using this method you specify the CTA type (`button` is currently the only supported type), an intent (more on this below), and a data object describing the CTA's attributes. The data object follows the same pattern as the object passed into the <a href="#api-create-type-options">API.create method</a> which you can use as a reference to see all available config options.
3939

4040
Parameter Name | Purpose | Field Format
4141
-------------- | -------------- | --------------

0 commit comments

Comments
 (0)